package com.angel.provider.sys;

import java.util.List;
import java.util.Map;

import com.angel.core.base.BaseProvider;
import com.angel.core.util.ResultParam;
import com.angel.health.SysUser;
import com.angel.health.SysUserExt;

/**
 * 高亚林
 * 2016年9月20日下午1:18:33
 */
public interface SysManagerUserProvider extends BaseProvider<SysUser>{

	ResultParam delete(String ids);

	ResultParam deleteById(SysUser user);

	List<SysUserExt> findUserById(SysUser user);

	int save(SysUser user, String role);

	Map<String, String> update(SysUser user, String role);

	List<SysUser> findAllUser();

	SysUser findUserByUsernameAndPassword(String username, String password);

	void updatePhoto(SysUser user);

	List<Map<String, Object>> findAllUsers(SysUser user);

}
